package com.jinx.domain;

import lombok.AllArgsConstructor;

import java.util.Arrays;

/**
 * @author Jinx
 * @date 2021/8/1 10:39 下午
 */
@AllArgsConstructor
public enum Sex {

    MAN("man"),
    WOMAN("woman");

    private final String desc;


    public void fun(){
        System.out.println(Arrays.toString(Sex.values()));
    }

    public static void main(String[] args) {
        Sex.MAN.fun();
    }
}
